WordPress SEO for your website – A Starter Guide

WordPress SEO for your website – A Starter Guide li > a’); analytics.trackLink(tagslinks, ‘Developers Filtered’, function(element){ return { tag_label: element.innerHTML }; }); /*$( ‘.tags > li > a’ ).each(function( index ) { var textlabel = jQuery(this).text(); });*/ /* */ }); })(); ]]> div.content-sidebar-wrap > main > section:nth-child(2) > div > div.layout__item–one-half.bluebg.last > div > p.whiteCTA > a’); var ctaheadclicked = jQuery(‘body > header > div:nth-child(1) > section.page-header > p:nth-child(5) > a’); var ctamidpage = jQuery(‘body > div.content-sidebar-wrap > main > section:nth-child(1) > div > p.bigbluebuttonwrap > a’); var ctafootbtn = jQuery(‘body > div.content-sidebar-wrap > main > section:nth-child(7) > div > div.layout__item–one-half.first > p:nth-child(3) > a’); tracklinkcustom(ctaheadclicked, ‘Hero banner’, ‘Blue rgb(2, 130, 192)’, false, ‘Button’,’CTA Clicked’); tracklinkcustom(ctamidpage, ‘Video Tutorial’, ‘Blue rgb(2, 130, 192)’, false, ‘Button’,’CTA Clicked’); tracklinkcustom(offerbox, ‘Offer box’, ‘White #fff’, false, ‘Button’,’CTA Clicked’); tracklinkcustom(ctafootbtn, ‘Footer button’, ‘Blue rgb(2, 130, 192)’, false, ‘Button’,’CTA Clicked’); } if(post_ID === ‘18887’){ // this is the new hompage test var headercta = jQuery(‘#header-new > div > section > div.page-header__cta-wrapper > a’); tracklinkcustom(headercta, ‘Hero banner’, ‘Orange #F5A623’, false, ‘Button’, ‘CTA Clicked’); var seehowworks = jQuery(‘[href=”#first-section”]’); tracklinkanchorcustom(seehowworks, ‘Hero banner’, ‘White #fff’, false, ‘Link’, ‘CTA Clicked’); var postaproject = jQuery(‘#first-section > div > div.c-section__cta.u-ta–center.u-mt–xl > a’); tracklinkanchorcustom(postaproject, ‘Get Matched v2’, ‘Blue #118DC9’, false, ‘Link’, ‘CTA Clicked’); var seeexamples = jQuery(‘body > div.content-sidebar-wrap > main > section.c-section.c-section–big.c-section–blue.c-section–hire > div > div > div:nth-child(1) > div > a’); tracklinkanchorcustom(seeexamples, ‘Hire for any scope of work’, ‘White #fff’, false, ‘Link’, ‘CTA Clicked’); var allfaqs = jQuery(‘.c-faq > .c-faq__question’); trackfaqscustom(allfaqs, ‘Frequently Asked Questions’, ‘Black #2B475A’, false, ‘Accordion’, ‘FAQ Clicked’); var faqpostproject = jQuery(‘body > div.content-sidebar-wrap > main > section:nth-child(7) > div > div > div > div:nth-child(7) > p > a’); tracklinkanchorcustom(faqpostproject, ‘Hompage FAQ’, ‘Blue #118DC9’, false, ‘Link’, ‘CTA Clicked’); var faqreadmore = jQuery(‘body > div.content-sidebar-wrap > main > section:nth-child(7) > div > div > div > div:nth-child(8) > p > a’); tracklinkanchorcustom(faqreadmore, ‘Hompage FAQ’, ‘Blue #118DC9’, false, ‘Link’, ‘CTA Clicked’); var readytohire = jQuery(‘#readytohire’); tracklinkanchorcustom(readytohire, ‘Ready to Hire v2’, ‘White #fff’, false, ‘Button’, ‘CTA Clicked’); var footerlinks = jQuery(‘.site-footer__link ‘); tracklinkanchorcustom(footerlinks, ‘Footer’, ‘Grey #546066’, false, ‘Link’, ‘Footer Nav Clicked’); var footersocial = jQuery(‘.site-footer__social a’); trackfootsocial(footersocial,’Footer’, ‘Grey #546066’, false, ‘Social media icon’, ‘Footer Nav Clicked’); var mainnave = jQuery(‘.primary-nav__link’); tracklinkcustom(mainnave, ‘Header’, ‘White’, false, ‘Link’,’Header Nav Clicked’); } if(post_ID === ‘19337’){ // this is the new hompage test 2 var headercta = jQuery(‘#header-new > div > section > div.page-header__cta-wrapper > a’); tracklinkcustom(headercta, ‘Hero banner’, ‘Orange #F5A623’, false, ‘Button’, ‘CTA Clicked’); var cCategoryCard = jQuery(‘.c-category-card’); trackpanels(cCategoryCard); var CTACateoryCard = jQuery(‘.c-category-card__button’); trackpanelcardsCTAs(CTACateoryCard, ‘panel’, ‘Orange #F5A623’, false, ‘Project types banner’, ‘CTA Clicked’); var mainCTAonPanel = jQuery(‘body > div.content-sidebar-wrap > main > section:nth-child(1) > div > div.c-section__cta.u-ta–center.u-mt–xl > a’); tracklinkcustom(mainCTAonPanel, ‘Project types banner’, ‘Blue’, false, ‘Link’,’CTA Clicked’); //Carousel Stuff jQuery(‘.js-stat-slider’).on(‘init’, function(slick){ var carouselRight = jQuery(‘.c-stat-slider .slick-next’); carouselTrack(carouselRight, ‘right_arrow’, ‘Carousel Clicked’, ‘Why Us’); var carouselLeft = jQuery(‘.c-stat-slider .slick-prev’); carouselTrack(carouselLeft, ‘left_arrow’, ‘Carousel Clicked’, ‘Why Us’); var carouselbuttons = jQuery(‘.slick-dots button’); carouselTrack(carouselbuttons, ‘carousel_nav’, ‘Carousel Clicked’, ‘Why Us’); }); var MainCTACarousel = jQuery(‘body > div.content-sidebar-wrap > main > section.c-section.c-section–slider > div.c-section__cta.u-ta–center > a’); tracklinkcustom(MainCTACarousel, ‘Why us banner’, ‘Blue’, false, ‘Link’,’CTA Clicked’); //End JS carousel //Start Dev carousel jQuery(‘.js-dev-slider’).on(‘init’, function(slick){ console.log(‘test’); var carouselRight = jQuery(‘.c-dev-slider .slick-next’); carouselTrack(carouselRight, ‘right_arrow’, ‘Carousel Clicked’, ‘Screened & handpicked banner’); var carouselLeft = jQuery(‘.c-dev-slider .slick-prev’); carouselTrack(carouselLeft, ‘left_arrow’, ‘Carousel Clicked’, ‘Screened & handpicked banner’); }); var DevProfileLink = jQuery(‘.c-dev-card__link’); tracklinkcustom(DevProfileLink, ‘Screened & handpicked banner’, ‘Blue’, false, ‘Link’,’CTA Clicked’); var startProjectCLick = jQuery(‘.c-dev-card__button.c-category-card__button.button’); tracklinkcustom(startProjectCLick, ‘Screened & handpicked banner’, ‘Orange #F5A623’, false, ‘Button’,’CTA Clicked’); //End Dev Carousel var readyTohire = jQuery(‘#readytohire’); tracklinkcustom(readyTohire, ‘Ready to hire’, ‘White #ffffff’, false, ‘Button’,’CTA Clicked’); var footerlinks = jQuery(‘.site-footer__link ‘); tracklinkanchorcustom(footerlinks, ‘Footer’, ‘Grey #546066’, false, ‘Link’, ‘Footer Nav Clicked’); var footersocial = jQuery(‘.site-footer__social a’); trackfootsocial(footersocial,’Footer’, ‘Grey #546066’, false, ‘Social media icon’, ‘Footer Nav Clicked’); var mainnave = jQuery(‘.primary-nav__link’); tracklinkcustom(mainnave, ‘Header’, ‘White’, false, ‘Link’,’Header Nav Clicked’); } if(post_ID === ‘19329’){ //why codeable page var headercta = jQuery(‘#header-new > div > section > a’); tracklinkcustom(headercta, ‘Hero banner’, ‘Orange #F5A623’, false, ‘Button’, ‘CTA Clicked’); var onpageNav = jQuery(‘.c-page-nav__link’); tracklinkcustom(onpageNav, ‘Main page body’, ‘White #FFF’, false, ‘Link’, ‘Page Nav Clicked’); var readyTohire = jQuery(‘#readytohire’); tracklinkcustom(readyTohire, ‘Ready to experience the Codeable difference’, ‘White #FFFFFF’, false, ‘Button’,’CTA Clicked’); var footerlinks = jQuery(‘.site-footer__link ‘); tracklinkanchorcustom(footerlinks, ‘Footer’, ‘Grey #546066’, false, ‘Link’, ‘Footer Nav Clicked’); var footersocial = jQuery(‘.site-footer__social a’); trackfootsocial(footersocial,’Footer’, ‘Grey #546066’, false, ‘Social media icon’, ‘Footer Nav Clicked’); var mainnave = jQuery(‘.primary-nav__link’); tracklinkcustom(mainnave, ‘Header’, ‘White’, false, ‘Link’,’Header Nav Clicked’); } if(post_ID === ‘19326’){ //How it works var headercta = jQuery(‘#header-new > div > section > a’); tracklinkcustom(headercta, ‘Hero banner’, ‘Orange #F5A623’, false, ‘Button’, ‘CTA Clicked’); var onpageNav = jQuery(‘.c-page-nav__link’); tracklinkcustom(onpageNav, ‘Main page body’, ‘White #FFF’, false, ‘Link’, ‘Page Nav Clicked’); //Carousel Stuff jQuery(‘.js-stat-slider’).on(‘init’, function(slick){ var carouselRight = jQuery(‘.c-stat-slider .slick-next’); carouselTrack(carouselRight, ‘right_arrow’, ‘Carousel Clicked’, ‘Why Us’); var carouselLeft = jQuery(‘.c-stat-slider .slick-prev’); carouselTrack(carouselLeft, ‘left_arrow’, ‘Carousel Clicked’, ‘Why Us’); var carouselbuttons = jQuery(‘.slick-dots button’); carouselTrack(carouselbuttons, ‘carousel_nav’, ‘Carousel Clicked’, ‘Why Us’); }); var MainCTACarousel = jQuery(‘body > div.content-sidebar-wrap > main > section.c-section.c-section–slider > div.c-section__cta.u-ta–center > a’); tracklinkcustom(MainCTACarousel, ‘Why us banner’, ‘Blue’, false, ‘Link’,’CTA Clicked’); //End JS carousel //FAQ’s start var tellus = jQuery(‘#brief .c-faq > .c-faq__question’); trackfaqscustom(tellus, ‘1. Tell us what you need’, ‘Black #2B475A’, false, ‘Accordion’, ‘FAQ Clicked’); var connect = jQuery(‘#connect .c-faq > .c-faq__question’); trackfaqscustom(connect, ‘2. We connect you with the right developers’, ‘Black #2B475A’, false, ‘Accordion’, ‘FAQ Clicked’); var collaborate = jQuery(‘#collaborate .c-faq > .c-faq__question’); trackfaqscustom(collaborate, ‘3. Get one price, hire & start collaborating’, ‘Black #2B475A’, false, ‘Accordion’, ‘FAQ Clicked’); var faqlinks = jQuery(‘#brief .c-faq > .c-faq__answer a’); tracklinkanchorcustom(faqlinks, ‘1. Tell us what you need’, ‘Blue #118DC9’, false, ‘Link’, ‘CTA Clicked’); //FAQ’as END var readyTohire = jQuery(‘#readytohire’); tracklinkcustom(readyTohire, ‘Ready to see how it works’, ‘White #FFFFFF’, false, ‘Button’,’CTA Clicked’); var footerlinks = jQuery(‘.site-footer__link ‘); tracklinkanchorcustom(footerlinks, ‘Footer’, ‘Grey #546066’, false, ‘Link’, ‘Footer Nav Clicked’); var footersocial = jQuery(‘.site-footer__social a’); trackfootsocial(footersocial,’Footer’, ‘Grey #546066’, false, ‘Social media icon’, ‘Footer Nav Clicked’); var mainnave = jQuery(‘.primary-nav__link’); tracklinkcustom(mainnave, ‘Header’, ‘White’, false, ‘Link’,’Header Nav Clicked’); } if(post_ID === ‘18920’ || post_ID === ‘18922’ || post_ID === ‘18924’){ // this is the new persona pages test var headercta = jQuery(‘#header-new > div > section > a’); tracklinkcustom(headercta, ‘Hero banner’, ‘White #FFF’, false, ‘Button’, ‘CTA Clicked’); var postaproject = jQuery(‘body > div.content-sidebar-wrap > main > section:nth-child(3) > div > div.c-section__cta.u-ta–center.u-mt–xl > a’); tracklinkanchorcustom(postaproject, ‘Get Matched v2’, ‘Blue #118DC9’, false, ‘Link’, ‘CTA Clicked’); var postaproject2 = jQuery(‘body > div.content-sidebar-wrap > main > section.c-section.u-bg-color–gray > div > div.c-section__cta.u-ta–center.u-mt–xl > a’); tracklinkanchorcustom(postaproject2, ‘Get Matched v2’, ‘Blue #118DC9’, false, ‘Link’, ‘CTA Clicked’); var allfaqs = jQuery(‘.c-faq > .c-faq__question’); trackfaqscustom(allfaqs, ‘Frequently Asked Questions’, ‘Black #2B475A’, false, ‘Accordion’, ‘FAQ Clicked’); var faqpostproject = jQuery(‘.c-faq > .c-faq__answer a’); tracklinkanchorcustom(faqpostproject, ‘Persona Page FAQ’, ‘Blue #118DC9’, false, ‘Link’, ‘CTA Clicked’); var readytohire = jQuery(‘#readytohire’); tracklinkanchorcustom(readytohire, ‘Ready to Hire v2’, ‘White #fff’, false, ‘Button’, ‘CTA Clicked’); var applyexpert = jQuery(‘body > div.content-sidebar-wrap > main > section.c-section.c-section–big.c-section–blue.c-section–apply > div > div > div > div.c-expert-apply__content > a’); tracklinkanchorcustom(applyexpert, ‘Want to work with loyal clients’, ‘White #fff’, false, ‘Link’, ‘CTA Clicked’); var footerlinks = jQuery(‘.site-footer__link ‘); tracklinkanchorcustom(footerlinks, ‘Footer’, ‘Grey #546066’, false, ‘Link’, ‘Footer Nav Clicked’); var footersocial = jQuery(‘.site-footer__social a’); trackfootsocial(footersocial,’Footer’, ‘Grey #546066’, false, ‘Social media icon’, ‘Footer Nav Clicked’); var mainnave = jQuery(‘.primary-nav__link’); tracklinkcustom(mainnave, ‘Header’, ‘White’, false, ‘Link’,’Header Nav Clicked’); } if(post_ID === ‘18885’){ // this is the pricing page test var headercta = jQuery(‘#header-new > div > section > a’); tracklinkcustom(headercta, ‘Hero banner’, ‘White #FFF’, false, ‘Button’, ‘CTA Clicked’); var allfaqs = jQuery(‘.c-faq > .c-faq__question’); trackfaqscustom(allfaqs, ‘Frequently Asked Questions’, ‘Black #2B475A’, false, ‘Accordion’, ‘FAQ Clicked’); var faqpostproject = jQuery(‘.c-faq > .c-faq__answer a’); tracklinkanchorcustom(faqpostproject, ‘Hompage FAQ’, ‘Blue #118DC9’, false, ‘Link’, ‘CTA Clicked’); var readytohire = jQuery(‘#readytohire’); tracklinkanchorcustom(readytohire, ‘Ready to Hire v2’, ‘White #fff’, false, ‘Button’, ‘CTA Clicked’); var footerlinks = jQuery(‘.site-footer__link ‘); tracklinkanchorcustom(footerlinks, ‘Footer’, ‘Grey #546066’, false, ‘Link’, ‘Footer Nav Clicked’); var footersocial = jQuery(‘.site-footer__social a’); trackfootsocial(footersocial,’Footer’, ‘Grey #546066’, false, ‘Social media icon’, ‘Footer Nav Clicked’); var mainnave = jQuery(‘.primary-nav__link’); tracklinkcustom(mainnave, ‘Header’, ‘White’, false, ‘Link’,’Header Nav Clicked’); //Sliders var slidercomplexity = jQuery(‘.range-labels-complexity > li’); tracksliderthingys(slidercomplexity, ‘Pricing guide’, ‘Pricing Guide Slider Clicked’, ‘Complexity’); var sliderurgency = jQuery(‘.range-labels-urgency > li’); tracksliderthingys(sliderurgency, ‘Pricing guide’, ‘Pricing Guide Slider Clicked’, ‘Urgency’); var sliderscope = jQuery(‘.range-labels-scope > li’); tracksliderthingys(sliderscope, ‘Pricing guide’, ‘Pricing Guide Slider Clicked’, ‘Scope’); var lastlinkbenethslider = jQuery(‘body > div.content-sidebar-wrap > main > section:nth-child(2) > div > p.u-ta–center.u-mt–lg.u-pl–lg.u-pr–lg > small > a’); tracklinkanchorcustom(lastlinkbenethslider, ‘Pricing guide’, ‘Blue #118DC9’, false, ‘Link’, ‘CTA Clicked’); } if(post_ID === ’41’ || post_ID === ‘18622’){ //These need to be moved to arrays ticket is in trello for it var sprtbtnhero = jQuery(‘#homepage_main’); var personasmall = jQuery(‘#small-businesses > a’); var personaagencies = jQuery(‘#wordpress-agencies > a’); var personabloggers = jQuery(‘#bloggers > a’); var ctastarteasy = jQuery(‘#body > section.band.band–orange > div > div > a’); var ctastartlarg = jQuery(‘body > section.band.cfwbg > div > p:nth-child(7) > a’); var personasmallTab = jQuery(‘[href=”#small-businesses”]’); var personaagenciesTab = jQuery(‘[href=”#wordpress-agencies”]’); var personabloggersTab = jQuery(‘[href=”#bloggers”]’); var personaexpertsTab = jQuery(‘[href=”#wp-experts”]’); var testimonialbutton1 = jQuery(‘body > section.band.band–no-padding.band–testimonials.band–white > div > ul > li:nth-child(1) > button’); var testimonialbutton2 = jQuery(‘body > section.band.band–no-padding.band–testimonials.band–white > div > ul > li:nth-child(2) > button’); var testimonialbutton3 = jQuery(‘body > section.band.band–no-padding.band–testimonials.band–white > div > ul > li:nth-child(3) > button’); var testimonialbutton4 = jQuery(‘body > section.band.band–no-padding.band–testimonials.band–white > div > ul > li:nth-child(4) > button’); var testimonialbutton5 = jQuery(‘body > section.band.band–no-padding.band–testimonials.band–white > div > ul > li:nth-child(5) > button’); var footerlinks = jQuery(‘.site-footer__link ‘); var headerlinks = jQuery(‘.primary-nav__link ‘); //Track cta clicks tracklinkcustom(sprtbtnhero, ‘Hero banner’, ‘Orange #F5A623’, false, ‘Button’,’CTA Clicked’); tracklinkcustom(ctastarteasy, ‘Getting started’, ‘Orange #F5A623’, false, ‘Button’,’CTA Clicked’); tracklinkcustom(ctastartlarg, ‘Larger project’, ‘Blue #36a9e1’, false, ‘Button’,’CTA Clicked’); //track tab clicks tracktabcustom(personasmallTab, ‘Small businesses’, ‘Tab Clicked’); tracktabcustom(personaagenciesTab, ‘WordPress agencies’, ‘Tab Clicked’); tracktabcustom(personabloggersTab, ‘Bloggers’, ‘Tab Clicked’); tracktabcustom(personaexpertsTab, ‘WP Experts’, ‘Tab Clicked’); //menus tracklinkcustom(footerlinks, ‘Footer’, ‘White’, false, ‘Link’,’Footer Nav Clicked’); tracklinkcustom(headerlinks, ‘Header’, ‘White’, false, ‘Link’,’Header Nav Clicked’); //Track testimonial clicks tracktestmonialcustom(testimonialbutton1, ‘Testimonial Banner Clicked’); tracktestmonialcustom(testimonialbutton2, ‘Testimonial Banner Clicked’); tracktestmonialcustom(testimonialbutton3, ‘Testimonial Banner Clicked’); tracktestmonialcustom(testimonialbutton4, ‘Testimonial Banner Clicked’); tracktestmonialcustom(testimonialbutton5, ‘Testimonial Banner Clicked’); tracklinkcustom(personasmall, ‘Persona tabs – Small businesses’, ‘Green #78A30D’, false, ‘Button’,’CTA Clicked’); tracklinkcustom(personaagencies, ‘Persona tabs – WordPress agencies’, ‘Green #78A30D’, false, ‘Button’,’CTA Clicked’); tracklinkcustom(personabloggers, ‘Persona tabs – Bloggers’, ‘Green #78A30D’, false, ‘Button’,’CTA Clicked’); ///New Home page var businessesTab = jQuery(‘[href=”#businesses”]’); var agenciesTab = jQuery(‘[href=”#agencies”]’); var freelancersTab = jQuery(‘[href=”#freelancers”]’); tracktabcustom(businessesTab, ‘Businesses’, ‘Tab Clicked’); tracktabcustom(agenciesTab, ‘Agencies’, ‘Tab Clicked’); tracktabcustom(freelancersTab, ‘Freelancers’, ‘Tab Clicked’); var getmatched = jQuery(‘#getmatched’); tracklinkcustom(getmatched, ‘Get Matched’, ‘White #ffffff’, false, ‘Button’,’CTA Clicked’); var premiumdev = jQuery(‘#premiumdev’); tracklinkcustom(premiumdev, ‘Premium Development’, ‘White #ffffff’, false, ‘Link’,’CTA Clicked’); var readytohire = jQuery(‘#readytohire’); tracklinkcustom(readytohire, ‘Ready to hire’, ‘Blue #36a9e1’, false, ‘Button’,’CTA Clicked’); var startconsult = jQuery(‘#startconsult’); tracklinkcustom(startconsult, ‘Ready to hire’, ‘White #ffffff’, false, ‘Link’,’CTA Clicked’); var homepagehowworks = jQuery(‘#homepagehowworks’); tracklinkcustom(homepagehowworks, ‘How it works’, ‘White #ffffff’, false, ‘Button’,’CTA Clicked’); } }); ]]>
Here’s the Source of this Content