You have options for different scenarios.
You can track conversions by adding specific CSS classes to your elements. This method is useful for tracking clicks as conversions on links or buttons without needing to wrap them in a shortcode.
cvt-NNN class to any button or link you want to track as a conversion, where NNN represents the Split Test ID which can be found at the bottom of a split test.Example:
If the Split Test ID you want to track is 123, you would add the class like this:
<a href="mywebsitelink.com/xyz" class="cvt-123">Click Here</a>
This setup will log a conversion when users click the link or button with the specified class.
Using CSS classes for conversion tracking is especially helpful for dynamic content where adding shortcodes isn’t convenient. Just ensure the correct Split Test ID (cvt-NNN) is used under the relevant split test.
Place conversions page shortcode on the "thank you" page or any page that is the final destination of your funnel you want to track as a conversion:
[st_conversion split_id="SPLIT_TEST_ID" /]
Or use the conversion link shortcode to record the link or button click as a conversion:
[st_conversion_click split_id="SPLIT_TEST_ID"] <button><a href="mywebsitelink.com/xyz">Click Here</a></button> [/st_conversion_click]
or Internal or outbound url
[st_conversion_click split_id="SPLIT_TEST_ID"] <a href="mywebsitelink.com/xyz">Click Here</a> [/st_conversion_click]
or Click to call link
[st_conversion_click split_id="SPLIT_TEST_ID"] <a href="tel:888-888-8888">Call Now</a> [/st_conversion_click]
or Click to call button
[st_conversion_click split_id="SPLIT_TEST_ID"] <button><a href="tel:888-888-8888">Call Now</a></button> [/st_conversion_click]