• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 How to paste conversion code in HTML

#1
I'm running ads on facebook and need to paste the conversion code in the html of the 'thank you' page. (i.e. the page people land on after registering)

How do I go about pasting the conversion code in the html of the "thank you" page? (i.e. the page people land on after registering)?


Your help is greatly appreciated!!!

Jonah
 

Brogan

XenForo moderator
Staff member
#4
Try the PAGE_CONTAINER template and use a conditional statement to target the register_process page.
 
#5
Try the PAGE_CONTAINER template and use a conditional statement to target the register_process page.
Thank you for the info! Though I'm lost as to using a "conditional statement to target the register_process page" I'm not familiar with code and I have marketing company working with me in regard to advertising on Facebook. So they're running ads for my site and they want to keep track of the new member conversions coming from the ads running on Facebook.

So I'm not sure how to go about creating a conditional statement and placing it with the Page_Container.
 

Brogan

XenForo moderator
Staff member
#6
<xen:if is="{$contentTemplate} == 'register_process'">
Your code here
</xen:if>
 
Last edited:

Mike

XenForo developer
Staff member
#9
He missed off a trailing quote it seems:
Code:
<xen:if is="{$contentTemplate} == 'register_process'">
Your code here
</xen:if>