Once you have completed setting up your Google Analytics account, you need to generate the unique ID tracking code.
To understand how to set up this unique code watch this video:
It will save you time and hassle of going through multiple websites to make a purchase.
Just putting advertisements on Facebook, is not enough now. You will need to track the performance of the adverts placed.