Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

 

View solution in original post

2 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.

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