Jump to content

Using php include to display google ads


9999

Recommended Posts

I am thinking about using "php include" to do the "sidebar" content on my pages so that when I make a change, I could just do it one time and it would update all of my pages.

 

In addition to this, I had in mind assigning a page id to each page and displaying the google ads specific to each corresponding page using if-then statments based on the page id, also by using "php include".

 

Is this a good idea?

Link to comment
https://forums.phpfreaks.com/topic/138410-using-php-include-to-display-google-ads/
Share on other sites

I see why not. The company I work for only uses google analytic but if they ran a campaign for advs I would go that route; Includes for the ads.

 

I dont see a point for the id to each page as the google ads are either static or they rotate automatically. At least of what I've seen around.

I see why not. The company I work for only uses google analytic but if they ran a campaign for advs I would go that route; Includes for the ads.

 

I dont see a point for the id to each page as the google ads are either static or they rotate automatically. At least of what I've seen around.

 

The page id is actually part of a larger scheme I have to list functions on the page that I am including.  Content is assigned to the appropriate page based on page id.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.