bizmen Posted March 4, 2015 Report Share Posted March 4, 2015 We manage an online directory and we are thinking of displaying banners based on keywords that users search for in our site's search field. Basically if a keyword exists in a user's search string, then a particular banner will be displayed. We've considered using site variable as an option but its not clear what to enter in the Names and Values field. Is using Site Variable a good way to do this and if it is, any suggestions on modifications we would need to make to the code, etc. Thanks, Quote Link to comment Share on other sites More sharing options...
Dave Brain Posted March 27, 2015 Report Share Posted March 27, 2015 If you want to use "Site-Variable" limitations then need to pass that variable with value on "Invocation Tags". Like : document.write ('&test=1'); after the line "document.write ('&cb=' + m3_r);". Also you can use "Site-Page URL" limitations, there choose "Contains" option enter keyword. It will work, banner will be deliver based on this. Quote Link to comment Share on other sites More sharing options...
Richard Foley Posted April 2, 2015 Report Share Posted April 2, 2015 This seems like a very "manual intervention", to have to edit the invocation code AFTER it has been extracted from Revive. Or have I misunderstood something? I was expecting a kind of category/tags management which matched/filtered against zones and advertisers. Does anyone know of a clearer configuration and/or a plugin which enables this kind of functionality? If you want to use "Site-Variable" limitations then need to pass that variable with value on "Invocation Tags". Like : document.write ('&test=1'); after the line "document.write ('&cb=' + m3_r);". Also you can use "Site-Page URL" limitations, there choose "Contains" option enter keyword. It will work, banner will be deliver based on this. Quote Link to comment Share on other sites More sharing options...
Dave Brain Posted April 2, 2015 Report Share Posted April 2, 2015 Hi, After taken invocation tag, you need to pass variable with value. For Value you need to pass search string value. Like, document.write('&keyword=value'); In that "value", you need to pass search field. Then this value and variable need to set 'site-variable' limitation for banner. If this is not helpful, then I can help you develop plugin to target ads based on keywords if needed. Thanks. Quote Link to comment Share on other sites More sharing options...
Moe Posted November 19, 2015 Report Share Posted November 19, 2015 Hi, After taken invocation tag, you need to pass variable with value. For Value you need to pass search string value. Like, document.write('&keyword=value'); In that "value", you need to pass search field. Then this value and variable need to set 'site-variable' limitation for banner. If this is not helpful, then I can help you develop plugin to target ads based on keywords if needed. Thanks.Hey, i have a site variable for delivery limitation:regex matchname: plzvalue: (1|2|3|4|5|6)when i add the the following to my snipped:document.write ('&plz=value')i only get a blank page Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.