There are two ways you can track how an end user got to your quiz or survey. 

  1. You can add a UTM parameter to a URL: use “?cred_tags=” or “&cred_tags=” and whatever code you add after the equals sign will show up in the “Custom Tags” column on your Data tab.
  2. You can add “data-tags” to your embed code, as shown in the bold-face example below. Whatever you put between the “ “ will show in the Custom Tags column.


<script type="text/javascript" src="https://staging.app.credspark.com/assessments/share-test/embed_script.js"></script>

<div class="credsparkQuiz" data-quiz-id="share-test" data-tags="Credspark embed test"></div>




Note: if you are hosting the quiz, you will use “cred_tags,” but if the interaction is hosted on CredSpark’s website (which is rare but does occur) you should use “?tags” instead. If in doubt, please reach out to us and include the URL of the page where the quiz or survey will be hosted.  


Using Display Logic with Custom Tags


The next evolution in display logic is the ability to control what questions display based on already-known information about a participant.


Say for example you want to send a post-event survey, and you want to deliver slightly different questions to speakers versus exhibitors versus attendees. You could create three different surveys, but that might make reporting harder than it needs to be, and what if there was only one or two differences in the questions? 


Instead, try using Custom Tags:


For speakers:

https://app.credspark.com/assessments/event-feedback-0b729efec988f/assessment_responses/new?tags=speaker


For attendees:

https://app.credspark.com/assessments/event-feedback-0b729efec988f/assessment_responses/new?tags=attendee


For exhibitors:

https://app.credspark.com/assessments/event-feedback-0b729efec988f/assessment_responses/new?tags=exhibitor


Once you’re set up your Custom Tags, you can then use display logic with that custom tag as a trigger. 


For example, if you have a question regarding the ease of technology use that is only relevant to speakers, you can set up display logic to ensure that only participants with the Custom Tag ‘speaker’ will see this question. This allows for a more streamlined and relevant survey experience, ensuring that respondents are only presented with questions that pertain to their experience.


To set up the logic, open the question modal  and switch to the 'Display Logic' tab. Select the 'Custom Tag' from the options and enter the tag that corresponds to the group for whom the question should be visible: