Donate

If any of the tips on this site have helped you out, consider buying me a cup of coffee. -dcPages
Web
Google Tag Manager and document.write PDF Print E-mail
Written by dcPages   

I have recently begun working with Google Tag Manager to make it easier for some of my clients and coworkers to manage tracking and conversion tags on websites. In the past, whenever someone needed a new tag added, I would have to either add it to every page manually (if they had a site built on static HTML) or add it to their template (if they had that sort of setup). In some cases (like WordPress based sites) I felt the need to create plugins to add the tags, so that if they changed to a new theme, the tags would still be present. Now, however, with Google Tag Manager, when I first begin work with a client, I can just add a single tag to their site, and from then on, adding, editing and removing tags is a much simpler process.

The basic setup is pretty simple, so I won’t go into that in too much detail here (but I’ll probably end up writing something on the subject eventually - and probably also a WordPress plugin). Instead, I want to focus on a specific issue that I have encountered with Google Tag Manager, namely, the inability to use document.write in your custom JavaScript tags.

Read more...
 
WordPress Themes PDF Print E-mail
Written by dcPages   

These days, when a new client wants me to build them a website, they often want to include features like a blog, and the ability for them to be able to login and edit their pages (so that they don't have to keep someone like me on the payroll just to update the text on the site). In order to provide all of that, I rely on WordPress. Installation is a snap (many hosting companies have scripts that will do it for you), adding pages is easy, and the WordPress Admin interface is simple enough that I can give my clients an hour or so of training, and they feel comfortable enough to login to WordPress and add posts, edit pages, etc. However, all of that pales in comparison to my absolute favorite part about WordPress: THEMES.

 

Read more...
 
HTML Hello World Tutorial PDF Print E-mail
Written by dcPages   

HTML is pretty simple to learn, mainly because it's not a big complicated programming language. Instead, it's what's called a "Markup Language". That's actually what HTML stands for - HyperText Markup Language. A markup language doesn't actually do anything the way a programming (or scriping) language does. Instead all it does is allow you to "markup" some text to tell another program how to interpret (or in this case display) that text. HTML is all based on tags that surround some text to tell a browser what to do with that text. Those tags will all have a similar format that looks like this: some text. Most tags will have an opening () and closing () tag (in fact, in strict XHTML, EVERY tag must have a matching closing tag), and many tags will also contain some "child" tags, which are like sub-tags. Now we just need to talk about what tags are a part of HTML...

Read more...
 
Tracking AdWords Conversion On Click Event PDF Print E-mail
Written by dcPages   

If you have ever gotten really serious about a Google AdWords account, then you have definitely spent some time setting up AdWords Conversion Tracking. Conversion tracking is so essential to effectively managing an AdWords account that I won't run one without it. In the standard case, it is very easy to setup, you create a conversion, paste the code into your page and you're done.  Unfortunately things don't always work out that easily. What if your conversion isn't defined by viewing a page, what if it's downloading a PDF, watching a video, clicking an affiliate link, etc? That's where things get a little bit trickier. I almost lost a client due to my demand of conversion tracking, and that is what forced me to figure out how to track conversions without displaying a "thank you" page.

Read more...
 
Two (Too?) Simple Hello Worlds PDF Print E-mail
Written by dcPages   

Whenever anyone starts out trying to learn (or teach) a programming (or scripting, or markup) language, they always start with the same thing "Hello World". In fact, if you use a development program like Eclipse, it starts every Android app as a "Hello Android!" app as your starting point. The problem with the Hello World! tutorial is that it doesn't really teach you much in term of web development.

Read more...
 


 

Search

Polls

How Many Phone Numbers Should dcRedial Show?