Closed elieo closed 8 years ago
You can add multiple tag to an AOS query using the following> (& sign breaks up the keywords)
OAS_query = 'events&conformation-dog-shows&getting-started-showing';
Notes: Current OAS setup is in templates/snippets/default_site/snip-OAS-setup.snip Category pages will be required. In snip-OAS-setup, you'll need to load a category page to get the field Elie wants. ex: templates/default_site/embeds.group/.content-headers.html~213 ({exp:channel:entries channel="category_hero") You'll want to talk to Elie about a fallback position -- what if a page isn't one of the /content pages, or if there is no category page for the article.
We are doing this right now only for the content section, so we don't need to worry about this for anything else.
Every piece of content will have a category so a fall back is not necessary.
I would also like to add the article name in the OAS query. SO for each ad we would have the following OAS queries:
Page type, Category , Sub category, Article name
Thanks
Thanks @elieo. Changes are on dev2, Please have look once you get chance. http://develop2.akc.org/content/westminster-dog-show/
@skt2 look like we are missing the sub category in the OAS query.
@elieo on article pages, I have generated OAS Query based on URL.
@elieo Added sub-category in the OAS Query, Please have a look. Tested here: http://develop2.akc.org/content/westminster-dog-show/articles/westminster-group-results-day-2/
@skt2 this looks good.
Verified on Prod
Total Time Spent: 4h
Backgruond As we are going to be moving the content from the /learn section to the /content section. We need to add OAS queries to each one of the ad units so we can block off certain sections to advertisers.
Desired outcome We are looking to be able to block off ads based on any of the following:
Recommendation i suggest that we create a field in the category page, so we can set the OAS query on a category / sub category level.