Introducing the Store Locator Library for Google Maps API

Introducing the Store Locator Library for Google Maps API


CHRIS BROADFOOT: Hi everyone. My name’s Chris Broadfoot. Welcome to another Google
Maps Developer Relations Screencast. Today I’ll be
showing you how to easily create an interactive
store locator using the Google Maps API. You might have already read this
great article on the maps API developer documentation, but
the piece that’s missing is a really great
user interface. Introducing the Open Source
Store Locator Library for the Maps API. This Utility Library makes it
simple for developers such as yourselves to build a great
store locator application. You get many things for free,
including a list of nearby stores, an info window that
shows details about the selected store, HTML5
GeoLocation, which will determine a good initial
viewport for the user, along with Street View, autocomplete
search like on maps.google.com, and
importantly, driving directions. It’s also very extensible. You can customize your markers,
info windows, map style, and anything else
you can think of. One important note, the
library’s very flexible about where the store data
comes from. The examples I’m going to show
you today have data coming from a CSV file, but there’s
an example in the documentation that shows
stores that come from a database hosted on Google
App Engine. I’m going to begin by showing
you the example that’s powered by a CSV file. The location data has been
obtained through data.gov.au, and it’s a list of all the
Medicare offices in Australia. The first thing you’ll notice
is on the left, a list of stores ordered by the distance
from the center of the map. I might want to change the
center to be where I currently am so I see the store
closest to me. So I’m actually at the Google
Sydney office, so I’m going to go ahead and select that. You’ll see that the
map updates to show my current location. And I see a list of the stores
that are closest to the Google Sydney office. Now, I don’t really want to
venture into the city, so I’m going to see the next closest
store that’s not Sydney. But I live close to Lockhart, so
maybe I’ll choose that one. I can go and hit Street
View to get an idea of where the store is. That looks fine, I can get
plenty of parking there. I’m going to go ahead and zoom
in so I can get more of an idea of where it is. And then maybe get some
driving directions. You’ll see that the map handily
uses my current location as the beginning
point, the Google Sydney office, for the directions. And I get the regular directions
panel that you might be familiar with from
using the Google Maps API. Let’s look at one
final example. This one shows how you can
simply customize the map to your liking. Here we’ve customized the icons,
so we’ve branded the map using the Medicare logo. And you can see as we click
we’ve customized the info window using a library
called InfoBubble. This is really great
to be able to brand the map to your liking. Of course, you can style the
panel using CSS, and the map using the Styled Maps API. So, you’d like one of these
store locators? Download the library from the
website, use several examples and demos including the two that
I showed you today, and refer to the detailed
documentation. All you have to do is
click here to start. Thanks for listening.

Setting up a Journal in OJS 3: Module 13 – Plugins: Google Analytics

Setting up a Journal in OJS 3: Module 13 – Plugins: Google Analytics


Hello, welcome to module 13 of setting up a journal with OJS 3.0 the Google Analytics plugin. Google Analytics is one
of the optional plugins that you can activate for your journal and connecting
your Google Analytics account through your journal website will enable the
gathering of all kinds of use and visit data on your journal. To activate and
configure the google analytics plugin, log in to your dashboard to the top
right corner of the journal homepage. Hover over settings in the left
navigation and select website. From the tabs along the top of the new
frame, select plugins. On the install plugins list, either used
the search to find Google Analytics or scroll down to generic plugins in the
table and manually find Google Analytics. In order to activate Google Analytics
within OJS, tick the box. An expansion arrow is now visible beside
the plugin named click on it to expose the plugin settings and click on
settings. Before you can start using Google
Analytics on your home page, you must first create a Google Analytics account.
If you have not already done so you can click on the Google Analytics site link
to complete this step. Once you’ve got your account setup, input your Google
Analytics account number into this box and click OK to save your setup. Please
note that it can take up to 24 hours for this update to push through onto the
website and for Google Analytics to begin reporting data. And that concludes
our overview of the settings and configuration of Google Analytics for
your journal. Thanks for watching and we’ll see you again in the next module.

The best way  to Install Google Analytics on to a WordPress Website?

The best way to Install Google Analytics on to a WordPress Website?


In this video, I’m going to show you the best method
on how to install Google Analytics on your WordPress website. All and more coming up.Hey,
there measuregeeks! Julian here back with another video teaching you the data-driven
way of digital marketing. Now, today we want to talk about how to install Google Analytics
on a WordPress website. And as always, there’s not just one way of doing things. So today,
I’m going to show you actually three ways on how to install Google Analytics on to your
WordPress website. And later on, you can pick which one suits you best. I will also give
you my recommendation at the end of this video. Now, we’ve got lots to cover so let’s dive
in.All right, welcome to our demo software we want to install Google Analytics on. Now,
in order to do this, we need to have two things in place already. First of all, we need to
have access to the admin area which we can reach under our domain name slash WP admin
login and now be able to install Google Analytics on your website. Be sure to have access to
the back end. Second part would be to have an actual tracking ID. And this is what you
can get at analytics.google.com login with your Google account, and then navigate to
the account that you want to install. If you don’t have an account set up, you will be
greeted with setting up a new account. Let’s quickly go through this. First of all, we
want to track a website. Let’s choose an account name. Normally, you would choose your company
name, then you can give your web property or the web tracking code a name. So for example,
for us, it would be our demo shop. And then you enter your website URL.In our case would
be right here. Now, be sure to not have the HTTP part up here at the beginning. You can
choose if you’re on HTTP or SSL in this drop-down menu. And then you can choose your industry
and also your reporting timezone. Now, this is very important because you want to ensure
that the timezone matches up with the timezone on your website to be able to compare data
later. So make sure that this is set correctly. And you can choose if you want to take part
in some more data options that Google Analytics provides. I’ll just leave them tick for now.
And we can now click on Get our tracking ID. We need to agree to the data processing terms.
This might differ from where you are located at. And I’ll accept this. And now we should
get our tracking code. We jump right into the section. Now if you already have an account
set up, you can simply go here to the admin section. And then on the property section,
you find the tracking info that you can open up and go to the tracking code.So you get
to the same place here. And here’s where we get our tracking ID that we will utilize to
install Google Analytics on our website. Let’s get to installing it. And I’m going to show
you three methods here. The first method is through a plugin. So we’ll go down here to
our plugins section and add a new plugin. And we simply type in Google Analytics. There
are different plugins out there that will help you to install Google Analytics or choose
the most popular option which is the Google analytics dashboard plugin for WordPress by
monster insights. So let’s install this and activated and will put us in this setup screen.
And we simply follow along with our Setup Manager here will connect monster insights
to our Google Analytics. It will authenticate us to Google, we allow the settings and then
we can choose our account. In our case, we had our tracking ID already available here,
just going to copy this. And we’ll find here our view that we want to connect. And we will
complete the connection. We can choose different tracking options. I will leave them untouched
for now. But this is really about the customization of your tracking code. And that should do
it we exit our wizard. And we should have now Google Analytics installed as easy as
that. How can we verify that this is actually working?Well, one is an extension by Google
that you can install to your Chrome browser which is the Google Tag assistant. And we
see here that Google Analytics is installed, but there is no HTTP response. And this is
because Google Analytics is actually blocked for people who are admins and logged in to
WordPress at the moment. So let’s open up a private browsing mode here. And I’m just
going to navigate to my page. And now we are not logged in. And we can see here, Google
Analytics is now deployed. Now depending on if this green or blue, this doesn’t really
matter. But it seems like Google Analytics has been deployed correctly. We can also test
this by going into our Google Analytics here. And here we see the status. And what we can
do is test our implementation by going into the real-time traffic reports through this
link. And here you can see that a page view was just generated. So this means that the
user that is right now on the website which is us has generated a page view. So if we
would go to the next page here should have another page view enter the picture. So Google
Analytics is correctly installed. And this is our first method of how we can install
Google Analytics via a plugin. I’d recommend this for everyone who doesn’t want to get
technical and install Google Analytics in a very easy way. But the downsides might be
that you have to install an additional plugin. This can potentially bog down your WordPress
installation and slow down your page. So I want to show you another method of how you
can install Google Analytics on your website. And this is through the installation in the
theme files directly. So let’s head back into our WordPress back end. And I’m going to deactivate
our plugin.And now let’s go ahead and install Google Analytics again through the theme files.
For that will go over to appearance, then theme editor. Now as it says here, it’s recommended
that you have a child theme already set up that will let you install these codes into
your child theme so that don’t get overwritten next time your theme updates. So definitely
have a child theme set up first, then we can go ahead and proceed here. Click on I understand,
select your child theme. And then find the header.php. Now, this needs to be set up in
your child theme in order to edit this. So we’re going to click on it. And now we have
access to the theme that governs our website, and especially the header of that theme. Now,
we go back to Google Analytics and click back into our tracking information to get our tracking
code. And here we have the global site tag, we can just simply copy. And it says here
that we should install this in the head section. So with our theme open right here, we can
add our information.And I’d suggest to put this right under the meta tags right here.
Just paste this in. The earlier the Google Analytics code will fire, the more likely
it is to send data of so even if the user navigates on before the site has ended loading,
you’ll be able to capture information. So now that we have this setup, let’s update
our file and head back to our page. Now, we should see in our tag assistant, the global
site tag is installed and Google Analytics so it’s already sending data over. Let’s look
into our real-time reporting inside of Google Analytics. And here, we also see that there
are page views already generated. If we go on to another page here, we should again see
data coming in right here we see a new page view. So Google Analytics is installed correctly
for our page. And this was also an easy method to install. If you are comfortable with copy-pasting
code into your theme file if you have a child theme set up and don’t want to use a plugin
to install your Google Analytics on your page. Now let’s go on to the last method that I
want to show you. And this is installing Google Analytics through Google Tag Manager. Now
Google Tag Manager is a tag management tool. So it manages all your tracking in one central
place. And this is a Google Tag Manager container. To get started with Google Tag Manager, head
over to tagmanager.google.com and create a new account, you can follow the steps as we’ve
done before in our Google Analytics set up. So we had your company here, and then your
website.You’re going to go with web, and create this and then we’re entering our Google Tag
Manager container. Now the first thing that we need to do, we also need to install a container
snippet onto our page into our theme files just like we did before. So let’s get go ahead
and follow again the steps that we just did earlier, I’m going to copy the first code
that needs to be in the head section. We’re going to go into to our theme settings and
our theme editor, choose our child theme here, go into our theme header PHP. And this time,
I’m going to get rid of our global site tag that we have installed right here. Instead,
paste our code of Google Tag Manager. Then there is a second code that we need to place
beneath the opening body tag. So we’re going to look for the body where it starts right
here. And right underneath going to post our Google Tag Manager, no script tag. Let’s update
this file.Now we can head back to our page, reload that. And in our tagging system, we
see that we have Google Tag Manager now installed. But Google Analytics is actually not yet part
of this implementation. We will need to deploy Google Analytics through Google Tag Manager.
How do you do this? Well, in Google Tag Manager now, you have access to the website itself
through that central snippet that we’ve installed on all the pages. We just need to deploy the
tracking tool that we want to install through this Management Console. And you do this by
going into Google Tag Manager and clicking on new tag and give this all a name. So we’ll
be able to recognize this later. And then when we click on tag configurations, we can
see all the different tools that you can install through Google Tag Manager onto your page.
Now, we are interested in Google Analytics, which is right on the top right here. So I’m
going to click on that. And we want to set over a page view, Now, we need to specify
the account which we can do by setting up a new Google Analytics settings variable.Here,
we need to implement our tracking ID. Go over to Google Analytics, go into our tracking
information and copy the tracking ID right here. Go back to Google Tag Manager, paste
it in here. I’ll also take this as a name here. So I will be able to recognize this
later. Let’s save this. And this is really what we would need, we just need to define
a trigger right here. And there’s already one available which is the all pages trigger.
So it will be deployed on all the pages. Let me fix this typo up here. And we are good
to go. Let’s save this. And now we have implemented one tag into our tag manager. We can try this
all out by going into the preview mode. This will put our browser into a special mode.
So we will be able on our page when we reload our page to see a debug console down here
which will show us which tag have fired on our page. Very practical to see if your tracking
is actually deployed. And he will see our Google Analytics is deployed, we can also
cross check this in our tag assistant. Here we go. The tag assistant shows that Google
Analytics is deployed. And also in our real-time reporting. There’s one user right now. And
here we go our page was sent and received by Google Analytics.Now be aware once we’re
in the preview mode, this is actually only deployed for you on your browser. This is
not yet live on your website. In order to push this live to the website, we will need
to submit a version. This is what this big Submit button is for click on here and we
can give our version a name. So you’ll be able to see all the changes we have done to
our container later on. Let’s publish this and it’s should be now live on our website.
So if I go back here and leave the preview mode, reload our page, you now see Google
Analytics is installed and Google Tag Manager. Now, don’t worry if those are not green. This
just means that it’s a nonstandard implementation since you have done it through Google Tag
Manager. But your data is still safely sent and received by Google Analytics.Now you have
seen that we have gone through quite some steps in order to set this up with Google
Tag Manager. The big advantage to this setup is that you will be more flexible once you
want to do customization and really get into advanced tracking techniques. Because not
only can you deploy easily Google Analytics, but also your facebook pixel, Google Ads tracking,
conversion tracking, or even set up certain triggers that trigger on interactions such
as a button click or when something comes into view, or form Submit. So very versatile
when it comes to expanding your tracking beyond the scope of just deploying a tracking code
like Google Analytics onto your page. It also decouples what you set up in your WordPress
installation. So if you ever wonder what tracking code is firing where you would be able to
look this up in your central tracking tool which is in this case, Google Tag Manager.
So for me, setting up Google Analytics through Google Tag Manager is the best way to set
up Google Analytics as it brings a lot of advantages of expanding our tracking later
on.All right, so there you have it. This is how you can install Google Analytics onto
your WordPress website. I showed you three ways. One is the plugin. One is to install
and hard code, essentially, the code onto your theme file, and then the deployment through
Google Tag Manager. Now, I made it already clear that I prefer the more hard way of doing
things, which is the deployment through Google Tag Manager just because it makes me more
flexible later on. If I want to install the Facebook pixel or Google Ads tracking later
on, then I’d be able to do this seamlessly through Google Tag Manager. There are a lot
of advantages. And if you want to find out more about Google Tag Manager, we actually
have a Google Tag Manager for beginners course up right here that you can view and learn
more about now. I’d love to hear from you. Which implementation method did you pick?
Or will you change your implementation method right now onto your WordPress website? Let
me know in the comments down below. And as always, if you liked this video, why not give
us a thumbs up and also subscribe to our channel right over there because we bring you new
videos just like this one every week. Now, my name is Julian till next time.

WordPress Tutorial- How to Increase Maximum Upload File Size in WordPress- 3 Best Methods

WordPress Tutorial- How to Increase Maximum Upload File Size in WordPress- 3 Best Methods


Hello everyone! once again welcome to my YouTube channel and in this video I am going to show you how you can increase maximum upload file size in WordPress. Here you can see on my screen if I come
here – add new – then you can see here maximum upload file size is 8MB. It
simply means that I can only upload files to my WordPress website up to 8MB
and if I upload files larger than this mentioned size then I’m going to get an
error. So how we can fix this and how we can increase this value so that we can
upload larger files onto our WordPress website. I’m going to cover all this in
this video so make sure you are watching this video till the end. I’m going to
show you 3 best methods but the first one is going to be most effective and this is
the method which always works for me and I can say that this is going to work for
maximum number of users. So let’s start this tutorial. So what you have to do? You
have to get inside the cPanel of your website ok and for that you have to type
the address of your website and slash and cPanel type this, press Enter key.
Here you have to type username and password, which is going to be provided
by your web hosting provider then press login. And you will see something like
this so you have to find out file manager. You can type file manager
else you can scroll down and find this option file manager, click on this. After
getting inside file manager you have to get inside public HTML. After getting
into public HTML, you have to find out where you have installed WordPress and I
have installed directly inside public HTML, So I am getting all these files
here. You have to find out WP admin ok. Get inside this folder by double
clicking on it. And here you have to scroll down and you how to find out a file PHP.ini okay! So here you can see I do not have such file
here inside this folder so we have to create a new one. So click here to create
a new file and name this PHP.ini like this and then create new file and
it will create this file here and if I refresh this reload this if I scroll
down PHP.ini . So you have to find this. Then you have to click on edit and then you have to paste this value inside PHP.ini file okay! you can paste only this one or also you can copy and paste here like this. This is the recommended because these are the two lines and this one
especially is important and this will get you away from another error which is
basically memory related so make sure you are mentioning this else you can also
remove this and leave it like this. Then click on Save Changes and let’s see what will happen here it was a 8Mb and now it’s 64MB. it simply means that I can
upload files up to 64MB and if you want to make these values much more larger
than you can simply type in here like 128M and now
one more thing I want to mention here when you are changing these values this
and this one then you have to make sure about this thing that this value and
this value should be same or this should be larger than this one. Post Maximum
size value should be larger than or equal to Upload Maximum file size okay.
So it’s 128M we are not going to leave this, I’m also going to change this 128M and it’s already larger and if you want to change this then you
can also change this value then click on save and then let’s see it’s changed to
120M okay MB and so this is the method which is going to work for almost
everyone but for the sake of this tutorial I am going to delete this file
so it’s already selected clicking on delete because sometimes this doesn’t
work for number of users you can say and they need to find out another way to
tackle this issue. okay! if i refresh here once again that’s going to 8MB again. So
now I’m closing this and coming back here on to my WordPress admin. Now the
second method is by adding some text to theme functions file. So you have to
click on to editor. After getting inside editor you will find this here theme
functions okay these are your themes files, So click on this theme functions
you will get something like this okay. So what you have to do click on the end
then press Enter key once again press Enter key and then add this text and if
you want to see this this is the text which you have to add on. Make sure you
are not making any mistake you are taking care of these spaces okay!
and simply copy this and add here like this. Click update file. Once again going to add new, opening in a new tab and you can see this doesn’t work
for me. So I’m getting rid of this. Now there is one more method which you can
try if both of these methods doesn’t work for you. and that is by editing .htaccess file ok! For that once again you have to get
inside the cPanel of your website. So here once again We are and getting inside
file manager and Here you have to click on settings
and then you have to click show hidden files. So once you have done this now get
inside public HTML. After getting inside public HTML you can find this file – .htaccess file So we are going to edit this file simply
click on this click on edit once again click edit and
press Enter key. Copy this and paste here like this. Save changes and
let’s see that this has worked for us or not. You can see here we are getting this
error okay! I’m deleting this so this is the way you
can actually fix this issue this maximum upload file size issue and adding PHP.ini file is the best option if you find this file already there and you get these values these lines there, then you can edit these values directly there or you can also add on these file there and Then you can add this text there
inside this file so this is the way you can change maximum upload file size
value in WordPress so Thanks for watching this video please like, share and leave a comment below if you have any issue.See you in next video.