Okenyon Active member Dec 16, 2015 #1 Hey guys, i'm looking at running some ads to my forum where should I place a tracking pixel to fire a pixel when someone registers?
Hey guys, i'm looking at running some ads to my forum where should I place a tracking pixel to fire a pixel when someone registers?
Mike XenForo developer Staff member Dec 16, 2015 #2 The register_confirm template should work. Upvote 0 Downvote
Okenyon Active member Dec 16, 2015 #3 Thanks Mike, one issue is it asks me to place it between the <head></head> tags, do I have these specific to that template as I can't place on all as it would fire on every page visit. Upvote 0 Downvote
Thanks Mike, one issue is it asks me to place it between the <head></head> tags, do I have these specific to that template as I can't place on all as it would fire on every page visit.
Mike XenForo developer Staff member Dec 16, 2015 #4 Do: Code: <xen:container var="$head.tracker">Your code here</xen:container> Upvote 0 Downvote
Okenyon Active member Dec 16, 2015 #5 Thank you, this will place it in the head of JUST this page? Upvote 0 Downvote
Kintaro Well-known member Dec 16, 2015 #7 the ".tracker" is a custom label or "$head.tracking" is specified for tracking? Upvote 0 Downvote
Jeremy in memoriam 1991-2020 Dec 16, 2015 #8 Custom element, but handled in the PAGE_CONTAINER template: Code: <xen:if is="{$head}"><xen:foreach loop="$head" value="$headElement">{xen:raw $headElement}</xen:foreach></xen:if> Upvote 0 Downvote
Custom element, but handled in the PAGE_CONTAINER template: Code: <xen:if is="{$head}"><xen:foreach loop="$head" value="$headElement">{xen:raw $headElement}</xen:foreach></xen:if>