Expand my Community achievements bar.

SOLVED

Landing Page Condition not Working

Avatar

Level 1

Hi All,

 

I am new to Adobe Launch and was trying to set up Google Ads conversion tag fires at specific page - www.example.com?results=abc122345678.

 

Events: Library Loaded (Page Top)

Conditions:

  • Landing Page > Return true if the landing page equals results= (enabled Regex)

Actions:

  • Custom Code > HTML > pasted the Google Ads conversion html code

Anyone can advise how to fix? Thanks a lot!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @fppj_kelly 

 

You can do something like this.

Manoj_Kumar__0-1655948058180.png

 


     Manoj
     Find me on LinkedIn

View solution in original post

4 Replies

Avatar

Community Advisor

Hello @fppj_kelly 

 

I am assuming your regex is not working. The easiest way would be to add one variable in your datalayer like purchasePage:true

 

The in launch condition remove your regex condition and use the datalayer variable to check if the value true or false.


     Manoj
     Find me on LinkedIn

Avatar

Level 1

Hi @Manoj_Kumar_ 

 

Thanks for your reply.

I am afraid that adding datalayer may not be a feasible option for me as I am not able to edit backend code for the website.

 

Do you have any suggestion on the regex setting if I want the tag to fire in any pages that contains the string: "results="?

 

Thanks!

Avatar

Correct answer by
Community Advisor

Hello @fppj_kelly 

 

You can do something like this.

Manoj_Kumar__0-1655948058180.png

 


     Manoj
     Find me on LinkedIn