❓ Technical KB - xScorts

Wondering how to configure the payment gateway on your site? Or would you like to know how to use Google Analytics to understand your web performance and user session metrics?

There’s all this and more below. Check out guides to help you set things up when/after going live and answers to those nagging (but important) questions you will ever have.

And in case, we have not covered something you're looking for, let us know and we’d be happy to add that. You know where to find us


Index


How to configure email

xScorts has two settings that need to fully configure for email.

  • Email tab

    • Admin email: This is the address where system emails and contact form emails will be delivered

    • Sender email: This is the mailbox from where the auto-triggered system emails will be sent to the escorts from

  • SMTP tab

    • Host: enter SMTP host, eg. smtp.google.com

    • Port: SMTP port eg 465

    • Auth user: SMTP username

    • Auth password: SMTP password

    • Secure option: Enable if use port 465

  • You can use format “your name” <email-address> to admin email and sender email. Eg

  • xScorts provides SMTP method for email only, almost services provide SMTP config, please check with your service and common list in our document.

SMTP common list and setup

SendGrid

  • Host: smtp.sendgrid.net

  • Port: 465 / 587

  • Auth user: the string apikey. This setting is the exact string "apikey" and not the API key itself.

  • Auth password: your Sendgrid API key eg: SG.xxxxx

Gmail

  • Host: smtp.google.com

  • Port: 465 / 587

  • Auth user: your full email address eg: youremail@gmail.com

  • Auth password: your Gmail password

M3 service

  • Host: m3 host URL, eg v2010004s.m3xs.net

  • Port: 587

  • Auth user: email username account or M3 FTP master account

  • Auth password: your email password or M3 FTP master password

Go to M3 control panel and register your email address, then fill to SMTP form

  • For Linode user, SMTP restrictions are in place by default for Linodes on accounts created after November 5th 2019. You'll need to configure rDNS for your instance and open a Support ticket confirming CAN-SPAM compliance, and Support should lift the restrictions pretty quickly. Check here for more details

How to add Google analytics code

Go to Admin panel > Settings > System settings > Google Analytics and enter your GA code.

GA code usually is formatted with GA-xxxx

How to add custom script

Go to Admin panel > Settings > System settings > Custom. There are 2 section you can enter your custom script

  • Custom header script: website will render this content in the <head> tag

  • Custom body script: website will render this content before </body> tag

You can enter your GA script to one of these sections

Make sure you entered valid HTML or JavaScript. Otherwise it might break the system.

How to update or change style

xScorts does not provide option to change layout or style in the admin panel. However if you want to custom there are 2 solutions

  • Change style from source code (recommend this)

  • Or inspect element in xScorts HTML code and get CSS class name or section then update your style to “Custom header script” section.

How to setup xScorts payment gateway

xScorts just supports CCBill payment gateway for now.

For other gateways please contact for customization

How to add footer menu

Go to Admin panel > FE Menu. Here you can see the list and create or update existing menu.

  • From system page: FE will reload custom script file if it is system URL. if enable you can select list of static pages too

  • Is new tab: open link in a new tab once clicking on

  • Title: menu text

  • Path: link to the page (you can enter full URL here if it is not system page)

  • Section: where we will show the menu

  • Ordering: enter sort number of menu item in the list