Niq's OA Resources

Tag and Links

Tag and link list

When building the websites in HTML, you should link as many things as you can, there are a lot of tags in our system that will link things for you, like google and facebook, and a list of standard URLs you can put on websites already. There are also tags that will automatically return company information, and should be used in things like the global header:

Common Tags

  • {#CompanyName} -> Returns the company name
       (Niq Baldwin)
  • {#CompanyAbbvCompany} -> Returns the company's abbreviated name
       (NB)
  • {#CompanyPhone} -> Returns text of company's primary phone number
       ((810) 985-6603)
  • {#CompanyMobilePhone} -> Returns the company's phone number wrapped in an anchor tag with a class
       (<a href="tel:8109856603" class="mobilephone">(810) 985-6603</a>)
  • {#CompanyAddress} -> Returns the company location's address
       (Port Huron)
  • {#CompanyCity} -> Returns the company location's city
       (Port Huron)
  • {#CompanyState} -> Returns the company location's state or province abbreviated
       (MI)
  • {#CompanyZip} -> Returns the company location's zip or postal code
       (48060)
  • {#CompanyYearFounded} -> Returns the year the company was founded
       (2000)
  • {#CompanyAge} -> Returns the age of the company as a number
       (24)

Specific Tags

  • {#SEOCity1} -> Returns the city and state for the first SEO city
       (Fort Gratiot MI)
  • {#SEOCity2} -> Returns the city and state for the second SEO city
       (Ann Arbor MI)
  • {#SEOCity3} -> Returns the city and state for the third SEO city
       (Marysville MI)
  • {#SEOCity1Raw} -> Returns just the city name for the first SEO city
       (Fort Gratiot)
  • {#SEOCity2Raw} -> Returns just the city name for the second SEO city
       (Ann Arbor)
  • {#SEOCity3Raw} -> Returns just the city name for the third SEO city
       (Marysville)
  • {#Service1} -> Returns the seasonally appropriate primary service, optional parameter “case” with values of “upper” or “lower” will convert the service to either uppercase or lowercase
       (Furnace/AC)
  • {#Service2} -> Returns the seasonally appropriate primary service, optional parameter “case” with values of “upper” or “lower” will convert the service to either uppercase or lowercase
       (Furnace/AC)
  • {#Service3} -> Returns the seasonally appropriate primary service, optional parameter “case” with values of “upper” or “lower” will convert the service to either uppercase or lowercase
       (Furnace/AC)
  • {#Service4} -> Returns the seasonally appropriate primary service, optional parameter “case” with values of “upper” or “lower” will convert the service to either uppercase or lowercase
       (Furnace/AC)
  • {#Service5} -> Returns the seasonally appropriate primary service, optional parameter “case” with values of “upper” or “lower” will convert the service to either uppercase or lowercase
       (Furnace/AC)
  • {#CurrentYear} -> Returns the current year
       (2024)
  • {#CurrentMonth} -> Returns the current month
       (December)
  • {#CurrentDay} -> Returns the current day
       (Tuesday)
  • {#CurrentDate} -> Returns the current date
       (12/17/2024)

Tags as links

Most of these tags return urls, so you should put them as the href values for anchor tags. (<a href="{#Facebook}" target="_blank"></a>

These are pulled from a company's Customer Hub, under "Web Presence". If a social media is not present in this list, it is not a tag yet, you'll have to manually paste a link.

  • https://www.google.com/maps/place/{#companyaddress},{#COMPANYCITY}, {#COMPANYSTATE} {#COMPANYZIP} -> lets you dynamically link a company's address
       (https://www.google.com/maps/place/2650 Oak St.,Port Huron, MI 48060)
  • {#Facebook} -> Returns the company's facebook url
       (https://www.facebook.com/OnlineAccessInc/)
  • {#Youtube} -> Returns the company's Youtube page
       (https://www.youtube.com/user/VincentsHeating)
  • {#Twitter} -> Returns the company's X (formerly twitter) page
       (https://twitter.com/online_access)
  • {#Blog} -> Returns the company's blog page
       (https://news.online-access.com/)
  • {#LinkedIn} -> Returns the company's LinkedIn page
       (https://www.linkedin.com/company/online-access-inc/)
  • {#BBB} -> Returns the company's BBB listing
       (https://www.bbb.org/us/mi/port-huron/profile/web-design/online-access-inc-0332-90035816)
  • {#Instagram} -> Returns the company's Instagram page
       (https://www.instagram.com/onlineaccessinc)
  • {#LeaveGoogleReview} -> Returns a link to their company's google page, opening to leave a review
       (https://search.google.com/local/writereview?placeid=ChIJrU9wLzWcJYgRBEOavw8HyIw)
  • {#ViewGoogleReviews} -> Returns a link to their company's google page, opening to view all reviews
       (https://search.google.com/local/reviews?placeid=ChIJrU9wLzWcJYgRBEOavw8HyIw)

Friendly Urls

There are friendly urls that we should plug in where we can. Another dept sets these up, but you should be putting in the links where it makes sense.

  • /schedule
  • /contact
  • /email
  • /about-us
  • /meet-our-team
  • /employment
  • /financing
  • /guarantees
  • /reviews
  • /maintenance-plan
  • /promotions
  • /heating-service
  • /ac-service
  • /plumbing-service
  • /electrical-service
  • /water-heater-service
  • /heat-pump-repair
  • /boiler-service

Other

Other tags commonly used

  • {#NearbyNowServiceCities limit="1"} -> returns a list of the company's cities, wrapped in two divs:
    <div class="serviceWrap">
        <div class="serviceColumn">
            <ul>
                <li>Aliante</li>
                <li>Anthem</li>
                <li>Green Valley</li>
                <li>Henderson</li>
                <li>Inspirada</li>
                <li>Las Vegas</li>
                <li>McDonald Highlands</li>
                <li>McDonald Ranch</li>
                <li>North Las Vegas</li>
                <li>Seven Hills</li>
                <li>Southern Highlands</li>
                <li>Summerlin</li>
            </ul>
        </div>
    </div>
    
  • {#PageName} -> Returns the name of the current page (use for the header for the global pages)
       (Tag and Links}
  • {#Page} -> Needed for the body block in the site template layout. It pulls in the html for each page in the Site Content Manager.
       (The entire html from the SCM)
  • {#googleplaceid} -> Returns the google place id, useful for the review widget
       (ChIJrU9wLzWcJYgRBEOavw8HyIw)
  • {#NBNSFT} -> Returns the Nearby Now storefront token. Used for the review widget.
       (6c2a562e-d077-43da-b6c1-14f84f5d1ddd)