LeadQuizzes

SegMetrics allows you to track leads acquired through LeadQuizzes by redirecting quiz takers to a thank you page on your site. Most of the time SegMetrics will track LeadQuizzes information automatically, but if you're having issues due to embedded quizzes, the following setup can help ensure proper tracking.


Getting Your SegMetrics Tracking Code

Before setting up LeadQuizzes tracking, you'll need your SegMetrics tracking pixel and a thank you page:

  1. In SegMetrics, navigate to your Site Setup page from the gear in the top menu and copy the pixel code
  2. If you haven't configured your tracking code previously, check out the Installing the Tracking Pixel instructions to set up your site correctly
  3. Create a thank you page on your site to send people to who complete the LeadQuiz

Setting Up Your LeadQuiz for Tracking

To send lead data to your redirect page, you'll need to configure a custom results page that appends form data to the URL:

  1. In LeadQuizzes, click on the quiz you want to track
  2. Click on Build to open the page Builder
  3. Scroll down to your Results section, and either create a new URL Redirect or edit existing ones
  4. Enter the URL of your thank you page that you created above
  5. Click the toggle to "Append form data to redirect URL"
  6. Click Save to save your changes

When configured correctly, LeadQuizzes will send quiz takers to your thank you page with their information appended to the URL, like this example:

https://example.com/thank-you?assigned_to=awesome&event_type_uuid=AAAAABBBBCCCCC&event_type_name=Awesome%20Sauce&invitee_full_name=Luke&email-address-test=test%40gmail.com

Configuring Your Thank You Page

Finally, set up your thank you page so it will pass the email address back into SegMetrics for proper lead tracking:

Add the Identification Script

On your thank you page, add the following code in the footer:

<script>
setTimeout(function(){ 
    _segq.push(['identify', SegMet.queryVal('email-address-lead')]);
}, 1000);
</script>

This script extracts the email address from the URL parameters and identifies the visitor to SegMetrics, connecting their quiz completion to their customer journey.


Congratulations! SegMetrics is now set up to track leads from LeadQuizzes and connect them to your complete customer journey data.


Frequently Asked Questions

Q: Do I need to formally integrate LeadQuizzes with SegMetrics?

A: No, there's no formal integration required. You simply need your SegMetrics tracking pixel on your thank you page and the URL redirect setup in LeadQuizzes to pass lead data through the URL parameters.

Q: Why do I need a custom thank you page instead of using LeadQuizzes' built-in results page?

A: Using your own thank you page ensures the SegMetrics tracking pixel can properly capture the lead information and connect it to the visitor's journey. LeadQuizzes' built-in pages don't have access to your SegMetrics tracking code.

Q: What if my quiz is embedded on my website - will tracking still work?

A: If you have embedded quizzes that aren't tracking properly, the redirect method described in this guide will ensure reliable tracking. The redirect to your thank you page with URL parameters bypasses any potential tracking issues with embedded content.

Q: What information gets passed from LeadQuizzes to SegMetrics?

A: When you enable "Append form data to redirect URL," LeadQuizzes passes all form data including email addresses and quiz responses as URL parameters. Your thank you page script then extracts the email to identify the lead in SegMetrics.

Q: Do I need the redirect setup if SegMetrics is already tracking automatically?

A: If SegMetrics is already tracking your LeadQuizzes leads automatically, you may not need this setup. However, the redirect method provides more reliable tracking, especially for embedded quizzes or complex setups where automatic tracking might miss some leads.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us