tracking code – check if replacement code is empty
-
Hey Guys,
first: s2member is great – i love it!
currently i would like to implement the tracking code (via Integrate Modification Tracking Codes field in backend) for account modifications. i want to test whether a replacement code is empty or not. if the replacement code (%%tid%%) is empty, i have to load a different tracking code.
if(%%tid%% == “”) {
<img src=”http://tracking-url.com/code.cgi?pp=123455&tid=%%tid%%&cashflow=%%regular%%&tax=1.19&goods=%%subscr_id%%” width=”1″ height=”1″ />
} else {
<img src=”http://another-tracking-url.com/code.cgi?pp=123455&tid=%%tid%%&cashflow=%%regular%%&tax=1.19&goods=%%subscr_id%%” width=”1″ height=”1″ />
}how can i do this?
greetings
The topic ‘tracking code – check if replacement code is empty’ is closed to new replies.