User Tools

Site Tools


This is an old revision of the document!


We know our customers are often power users that have several websites, and not all of them are powered by Real Geeks (yet!)

Customers would often ask for the ability to send leads from their other sites into our lead manager. So, we have created a widget that will let you embed contact links in your other sites that will send contact requests into the lead manager.

This widget uses the asynchronous method of javascript, similar to the new method that google analytics uses. This ensures that our widget will not impact the speed of your own site.

Adding a contact widget to your external Site

Paste the following code just before the </head> tag on your site. You will need to replace WWW.YOURSITEHERE.COM with the URL of your Real Geeks site.:

<script type="text/javascript">
  var _rgq = _rgq || [];
  _rgq.push(['_setSecure', true]);
  (function() {
     var rg = document.createElement('script'); rg.type = 'text/javascript'; rg.async = true;
     rg.src = '//';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(rg, s);

The line, _rgq.push(['_popupContact']);_rgq.push(['_resize',500,800]), needs to be added only if your site uses SSL (has https in the site url).

Now, you can use the following javascript trigger anywhere on your page to open the contact form:


For example, here is a button that pops up the contact form:

<button onclick="_rgq.push(['_popupContact']);_rgq.push(['_resize',500,800])">Contact Us</button>


This is what it looks like (but you can style it however you want):

To learn how to add the contact us popup as a button on your real geeks site, click here.

contact_widgets.1647043383.txt.gz · Last modified: 2022/03/12 00:03 by kevin